import request from '@/utils/request'

export function yonghu(params) {
  return request({
    url: '/admin/notice/list',
    method: 'get',
    params
  })
}
export function shanchu(data) {
    return request({
      url: '/admin/notice/delete',
      method: 'post',
      data
    })
  }
  export function bianji(data) {
    return request({
      url: '/admin/notice/update',
      method: 'post',
      data
    })
  }

  
  export function tianjia(data) {
    return request({
      url: '/admin/notice/create',
      method: 'post',
      data
    })
  }
  export function plsc(data) {
    return request({
      url: '/admin/notice/batch-delete',
      method: 'post',
      data
    })
  }

  